package sandan.gyl.login.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import sandan.gyl.domain.basedata.User;
import sandan.gyl.login.dao.LoginDao;
import sandan.gyl.login.service.LoginService;

@Service("loginService")
public class LoginServiceImpl implements LoginService {
	@Resource(name = "loginDao")
	private LoginDao loginDao;

	public User authentication(String username, String password) {
		return loginDao.authentication(username, password);
	}

}
